<?php

require('../class/MyPDO.class.php');

$config = array(
    'db_host' => '127.0.0.1',
    'db_port' => 3306,
    'db_name' => 'test',
    'db_user' => 'root',
    'db_pass' => 'root',
    'db_charset' => 'utf8'
);
$pdo = MyPDO::getInstance($config);
//var_dump($pdo->getFields('opgroup_logs'));
//var_dump($pdo->checkFields('opgroup_logs','ids'));
//var_dump($pdo->getTableEngine('test', 'opgroup_logs'));
//var_dump($pdo->getCount('opgroup_logs','id','',true));
//var_dump($pdo->replace('opgroup_logs', array('uName' => 30, 'ip' => 111), false));
//var_dump($pdo->update('opgroup_logs', array('uName' => 30, 'logtime' => 1504234234), '', false));
//var_dump($pdo->query("select * from opgroup_logs",'Row'));
//var_dump($pdo->execSql("select * from opgroup_logs", true));














